package com.cloud.DrugManagement.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author zhozixiong
 * @date 2023/02/17
 */
@TableName
@ApiModel(description = "入库单目")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReceiptMonocular {
    @ApiModelProperty("订单编号")
    private Long oid;
    @ApiModelProperty("药品编号")
    private int did;
    /**
     * 药品信息通过药品编号去订单单目中拿
     */
    @ApiModelProperty("药品名称")
    private String dname;
    @ApiModelProperty("规格")
    private String specifications;
    @ApiModelProperty("包装")
    private String packing;
    @ApiModelProperty("单价")
    private Double price;
    @ApiModelProperty("实收数量")
    private int quantity;
}
